0.0
NA
CVE-2026-33929
Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples. This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7. Users are recommended to update to version 2.0.37 or 3.0.8 once available. Until then, they should apply the fix provided in GitHub PR 427. The ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. "/home/ABCDEF". Users who have copied this example into their production code should apply the mentioned change. The example has been changed accordingly and is available in the project repository.

INFO

Published Date :

April 14, 2026, 9:16 a.m.

Last Modified :

April 14, 2026, 9:16 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-33929 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Update Apache PDFBox to a patched version or apply the provided GitHub fix.
  • Update Apache PDFBox to version 2.0.37 or 3.0.8.
  • Apply the fix from GitHub PR 427 if updating is not possible.
  • Review and apply the fix to custom example code.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-33929.

URL Resource
https://github.com/apache/pdfbox/pull/427/changes
https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6
https://lists.apache.org/thread/op3lyx1ngzy4qycn06l6hljyf28ff0zs
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-33929 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-33929 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-33929 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Apr. 14, 2026

    Action Type Old Value New Value
    Added Description Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples. This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7. Users are recommended to update to version 2.0.37 or 3.0.8 once available. Until then, they should apply the fix provided in GitHub PR 427. The ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. "/home/ABCDEF". Users who have copied this example into their production code should apply the mentioned change. The example has been changed accordingly and is available in the project repository.
    Added CWE CWE-22
    Added Reference https://github.com/apache/pdfbox/pull/427/changes
    Added Reference https://lists.apache.org/thread/j8l07tgzy9dm8d8n0f3c45h7zg7t3ld6
    Added Reference https://lists.apache.org/thread/op3lyx1ngzy4qycn06l6hljyf28ff0zs
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.